<?php $this->load->view('home/common/header'); ?>


<div id="ja-content-mass-top" class="ja-mass ja-mass-top clearfix">
                    

<div class="custom">
	<div class="ja-tabswrap portfolio" style="width:100%;">	<div id="myTab-22827" class="container">	<div class="ja-tabs-title-top" style="height:30px;">
							<ul class="ja-tabs-title">
							<li title="Nhà riêng, chung cư Cao cấp, Mini, nhà tập thể, đất nền, đất dự án..." class="ja-tab-title_icon1 first active"><h3>
							<span>Cần bán</span></h3></li>
							<li title="Cho thuê nhà" class="ja-tab-title_icon3 last"><h3><span>Cho thuê</span></h3></li></ul>
						</div>
						<div style="height: 412px;" class="ja-tab-panels-top"><div style="top: 0px; left: 0px;" class="ja-tab-content ja-tab-content_icon1">
							<div class="ja-tab-subcontent">

<div class="custom_icon1">

<?php foreach($houseArray as $house){ ?>

<div class="ja-innerdiv clearfix">
<h4><a href="<?php echo base_url().'index/detail/'.$house->id?>" title="<?php echo  $house->title?>"><?php echo  $house->title?></a></h4>
<?php 
if($house->img1!=null)
{
?>
<img style='width:80px;height:72px;overflow:hidden;border:1px solid #CCC' src="<?php echo base_url();?>themes/home/uploads/<?php echo  $house->img1?>" alt="your image" align="left"/>
<?php }else{?>
<img style='width:80px;height:72px;overflow:hidden;border:1px solid #CCC' src="<?php echo base_url();?>themes/home/images/demohousesmall.gif" alt="your image" align="left"/>
<?php }?>
<?php echo $house->description?>
<p class="price"><span>Price: </span><?php echo  number_format($house->price);?> (VND)</p>
</div>
<?php } ?>

</div>
  </div>
						 </div><div style="top: 412px; left: 0px;" class="ja-tab-content ja-tab-content_icon3">
							<div class="ja-tab-subcontent">

<div class="custom_icon3">
	<div class="k2ItemsBlock _icon4 two-col" id="k2ModuleBox70">

	
	  <ul class="clearfix">
        <li class="itemContent even firstItem">

      
      
      
      
      
            <a href="#" class="moduleItemTitle">Ante sem enim id vestibulum est</a>
      
      
      
      
      
      
      
      
      
      
            	    	      <a title="Continue reading" href="#" class="moduleItemImage">
	      	<img src="images/sam-37.jpg" alt="Sample image" class="img-border" title="Sample image" align="left">	      </a>
	    	    
	          <div class="moduleItemExtraFields">
	      <ul>
	        					<li class="typeTextfield group1 row-1 clearfix">
						<span class="moduleItemExtraFieldsLabel">Price</span>
						<span class="moduleItemExtraFieldsValue">$31000</span>
						<div class="clr"></div>
					</li>
	        					<li class="typeSelect group1 row-0 clearfix">
						<span class="moduleItemExtraFieldsLabel">Country</span>
						<span class="moduleItemExtraFieldsValue">England</span>
						<div class="clr"></div>
					</li>
	        					<li class="typeSelect group1 row-1 clearfix">
						<span class="moduleItemExtraFieldsLabel">Type</span>
						<span class="moduleItemExtraFieldsValue">Bungalow</span>
						<div class="clr"></div>
					</li>
	        					<li class="typeSelect group1 row-0 clearfix">
						<span class="moduleItemExtraFieldsLabel">Gardens</span>
						<span class="moduleItemExtraFieldsValue">Front</span>
						<div class="clr"></div>
					</li>
	        					<li class="typeSelect group1 row-1 clearfix">
						<span class="moduleItemExtraFieldsLabel">Parking</span>
						<span class="moduleItemExtraFieldsValue">Drive</span>
						<div class="clr"></div>
					</li>
	        	      </ul>
      </div>
      	    
			<div class="moduleItemIntrotext">
      	      	
<p>Ut Lorem risus vel amet mattis pharetra facilisis orci et pretium. 
Purus aliquet nibh morbi velit justo senectus ante Phasellus cursus 
ante. Quis condimentum tincidunt Nam ante ut convallis orci eu laoreet 
amet. Auctor tincidunt dapibus massa at porttitor Sed nascetur 
Vestibulum tortor Proin.</p>

      	      </div>
      
      <div class="clr"></div>

      
      <div class="clr"></div>

      
      
      
      
      
      
      
      
			
			
			
      
      
      
      
      <div class="clr"></div>
    </li>
        <li class="itemContent odd lastItem">

      
      
      
      
      
            <a href="#" class="moduleItemTitle">Morbi eget non justo Mauris orci sem semper</a>
      
      
      
      
      
      
      
      
      
      
            	    	      <a title="Continue reading" href="#" class="moduleItemImage">
	      	<img src="images/sam-38.jpg" alt="Sample image" class="img-border" title="Sample image" align="left">	      </a>
	    	    
	          <div class="moduleItemExtraFields">
	      <ul>
	        					<li class="typeTextfield group1 row-1 clearfix">
						<span class="moduleItemExtraFieldsLabel">Price</span>
						<span class="moduleItemExtraFieldsValue">$6000</span>
						<div class="clr"></div>
					</li>
	        					<li class="typeSelect group1 row-0 clearfix">
						<span class="moduleItemExtraFieldsLabel">Country</span>
						<span class="moduleItemExtraFieldsValue">Wales</span>
						<div class="clr"></div>
					</li>
	        					<li class="typeSelect group1 row-1 clearfix">
						<span class="moduleItemExtraFieldsLabel">Type</span>
						<span class="moduleItemExtraFieldsValue">Bungalow</span>
						<div class="clr"></div>
					</li>
	        					<li class="typeSelect group1 row-0 clearfix">
						<span class="moduleItemExtraFieldsLabel">Gardens</span>
						<span class="moduleItemExtraFieldsValue">Front</span>
						<div class="clr"></div>
					</li>
	        					<li class="typeSelect group1 row-1 clearfix">
						<span class="moduleItemExtraFieldsLabel">Parking</span>
						<span class="moduleItemExtraFieldsValue">Drive</span>
						<div class="clr"></div>
					</li>
	        	      </ul>
      </div>
      	    
			<div class="moduleItemIntrotext">
      	      	
<p>Quis faucibus laoreet Nam condimentum pede ipsum vel porttitor 
Quisque dui. Mi cursus Aenean cursus nulla ante Nullam justo elit Aenean
 habitasse. Dictum urna gravida Nullam convallis vel et netus Praesent 
elit id. Risus dolor id laoreet sed malesuada eros vel nec ornare 
montes. Id mi sit semper accumsan nunc.</p>

      	      </div>
      
      <div class="clr"></div>

      
      <div class="clr"></div>

      
      
      
      
      
      
      
      
			
			
			
      
      
      
      
      <div class="clr"></div>
    </li>
        <li class="clearList"></li>
  </ul>
  
	
	
</div></div>
  </div>
						 </div></div>	</div>
				</div><script type="text/javascript" charset="utf-8">
					window.addEvent("load", function(){
						new JATabs("myTab-22827", {position:'top',mouseType:'click',style:'portfolio',width:'100%',height:'auto',duration:1000,animType:'animMoveVir',skipAnim:false,colors:'',maxitems:0,useAjax:false,numbertabs:2,ids:'82,92', siteroot:'', numbtab: 0});
					});
			     </script>
</div>
                </div>
				
<div>				                              
<div class="item-page">
    	
</div>				
				
<!--body start -->


<!--right panel start -->

<!--right panel end -->
<br class="spacer" />






<!--body end -->


<?php $this->load->view('home/common/body'); ?>
<?php $this->load->view('home/common/footer'); ?>
